﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html>

<HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html" charset="gb2312">
    <META NAME="Author" CONTENT="haiwa">
    <META NAME="homepage" CONTENT="">
    <style>
        <!--
        .div {
            position: absolute;
            border: 0px solid red;
            /*background-color: #ff6a00;*/
            line-height: 60px;
            font-size: 12px;
            z-index: 1000;
        }
        -->
    </style>
</HEAD>

<BODY>
    <div id="Javascript.Div1" class="div" style="width:360px; height:60px" align="center">
    </div>
    <SCRIPT LANGUAGE="JavaScript">
        function sc1() {
            document.getElementById("Javascript.Div1").style.top = (document.documentElement.scrollTop + (document.documentElement.clientHeight - document.getElementById("Javascript.Div1").offsetHeight) / 2) + "px";
            document.getElementById("Javascript.Div1").style.left = (document.documentElement.scrollLeft + (document.documentElement.clientWidth - document.getElementById("Javascript.Div1").offsetWidth) / 2) + "px";
        }
    </SCRIPT>

    <SCRIPT LANGUAGE="JavaScript">
<!--
function scall(){
    sc1();
}
window.onscroll=scall;
window.onresize=scall;
window.onload=scall;
//-->
    </SCRIPT>
</BODY>
</html>